package com.spzx.cart.service;



import com.spzx.cart.api.domain.CartItem;


import java.util.List;

public interface CartItemService {

    boolean add2Cart(Long skuId, Integer skuNum);

    List<CartItem> cartList(); // ！！ 返回的是购物项  不能用 boolean

    boolean deleteCart(Long skuId);


    boolean checkCart(Long skuId, Integer status);

    boolean allCheckCart(Integer status);

    boolean clearCart();

    List<CartItem> getCheckedCartItems();

    boolean delCheckedCartItems();
}
